﻿@model DiplomaWeb.Models.Reviewer.StudentsProgressViewModel

@helper TableRow(string lable, MvcHtmlString value){
    <div style="width: 400px; font-size: 25px; border: 1px solid #CCCCCC; height: 40px; padding: 10px; margin-bottom: 10px;">
        <div style="width: 350px; float:left;">@lable</div>
        <div style="width: 40px; float:left;">@value</div>
    </div>
}


@using (Html.BeginRouteForm("Default", new { controller = "SystemManagers", action = "UsersPlaces" }, FormMethod.Post))
{
    for (int i = 0; i < Model.Students.Count; i++)
    {
        <div>
            <h1>@Model.Students[i].FIO</h1>
            @Html.HiddenFor(r => r.Students[i].Id)
            @TableRow("Трудоустройство", Html.EditorFor(r => r.Students[i].Placement))
        </div>
    }
    <input type="submit" value="Сохранить"/>
}